<?php
Route::group([
	'prefix' => 'banner',
	'namespace' => 'Banner'
], function () {
	Route::group([
		'prefix' => 'banners',
	], function () {
		// 用户管理列表
		Route::get('/', 'BannersController@index')->name('admin.banner.banners');
		// 添加用户
		Route::get('/add', 'BannersController@add')->name('admin.banner.banners.add');
		// 编辑用户
		Route::get('/edit/{id}', 'BannersController@edit')->name('admin.banner.banners.edit');
		// 保存用户信息
		Route::post('/save', 'BannersController@save')->name('admin.banner.banners.save');
		// 删除用户
		Route::get('/delete/{id}', 'BannersController@delete')->name('admin.banner.banners.delete');
	});
});